<template>
  <div class="error layout-padding">
    <div class="layout-padding-auto layout-padding-view">
      <div class="error-flex">
        <div class="left">
          <div class="left-item">
            <div class="left-item-animation left-item-title">页面未找到</div>
            <div class="left-item-animation left-item-msg">请联系管理员，修正菜单数据~</div>
          </div>
        </div>
        <div class="right">
          <SvgIcon icon-class="404"/>
        </div>
      </div>
    </div>
  </div>
</template>

<!-- 定义api -->
<script lang="ts">
export default {
  name: 'ViewNotFound'
};
</script>

<style scoped lang="scss">
.error {
  height: 100%;

  .error-flex {
    margin: auto;
    display: flex;
    height: 350px;
    width: 900px;

    .left {
      flex: 1;
      height: 100%;
      align-items: center;
      display: flex;

      .left-item {
        .left-item-animation {
          animation-name: error-num;
          animation-duration: 0.5s;
          animation-fill-mode: forwards;
        }

        .left-item-title {
          color: var(--ep-color-info);
          font-size: 55px;
        }

        .left-item-msg {
          font-size: 20px;
          color: var(--ep-text-color-primary);
          margin: 15px 0 5px 0;
          animation-delay: 0.1s;
        }

      }
    }

    .right {
      flex: 1;
      animation-name: error-img;
      animation-duration: 2s;
      animation-fill-mode: forwards;

      .svg-icon {
        width: 100%;
        height: 100%;
      }
    }
  }
}
</style>
